let path = require('path')
function resolve (dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  devServer:{
      port:3333, // 启动端口
      open:false  // 启动后是否自动打开网页
  },
  chainWebpack: config => {
    config.resolve.alias
      .set('@', resolve('src')) 
  }
}